package com.ruoyix.novel.service;

import com.ruoyix.novel.domain.NovelChapterOutline;
import com.ruoyix.novel.domain.vo.NovelChapterOutlineVo;
import com.ruoyix.novel.domain.bo.NovelChapterOutlineBo;
import com.ruoyix.common.core.page.TableDataInfo;
import com.ruoyix.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 章节大纲Service接口
 *
 * @author ruoyi
 * @date 2025-06-05
 */
public interface INovelChapterOutlineService {

    /**
     * 查询章节大纲
     */
    NovelChapterOutlineVo queryById(Long id);

    /**
     * 查询章节大纲列表
     */
    TableDataInfo<NovelChapterOutlineVo> queryPageList(NovelChapterOutlineBo bo, PageQuery pageQuery);

    /**
     * 查询章节大纲列表
     */
    List<NovelChapterOutlineVo> queryList(NovelChapterOutlineBo bo);

    /**
     * 新增章节大纲
     */
    Boolean insertByBo(NovelChapterOutlineBo bo);

    /**
     * 修改章节大纲
     */
    Boolean updateByBo(NovelChapterOutlineBo bo);

    /**
     * 校验并批量删除章节大纲信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
